package twitter.client.util;

import java.util.HashMap;
import java.util.Map;

import android.graphics.Bitmap;

public class ImageChace {
	private static Map<String, Bitmap> cache = new HashMap<String, Bitmap>();

	public static Bitmap getImage(String key) {
		return cache.get(key);
	}

	public static void setImage(String key, Bitmap image) {
		cache.put(key, image);
	}

	public static void clear() {
		cache = new HashMap<String, Bitmap>();
	}
}